<template>
<!-- <Child :title="msg" :count="10" :flag="true"></Child>
<button @click="changeMsg">点击按钮修改值</button> -->
<!-- <Child :items="msg"></Child> -->

 <Child :user="infor" :items="msg"></Child>
  <button @click="itemsgb">点击按钮修改值</button> 
</template>
<script setup>
import { ref } from 'vue';
import Child from './Child.vue';
// let msg=ref("你好，赵嘉豪的页面")
// const changeMsg=()=>{
//     msg.value="title值完成修改"
// }
let msg=ref([1,2,3,4])
const itemsgb=()=>{
    msg.value=[5,6,7,8]
}
let infor ={
    name:"姓名",
    num:"2430150107",
    age:20
}
</script>
<style>


</style>